package org.andes.kownledge;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

import lisp.SExp;

/**
 * Created by IntelliJ IDEA.
 * User: wenfeix
 * Date: 2011-2-1
 * Time: 0:00:25
 * To change this template use File | Settings | File Templates.
 */
public class Solution  {
    private String name;
    private String statement;
    
    List<EnqSet> eqnSets=new ArrayList();
    public List<EnqSet> getEqnSets(){
        return  eqnSets;
    }
    public void readContent(InputStream S,BubbleGraph graph,List<eqn> eqns,int version) throws Exception{
        SExp sexp=SExp.INPUT(S);
        List<SExp> tempList= sexp.toList();
        for(SExp exp:tempList){
            EnqSet es=new EnqSet();
            es.readContent(version,exp,graph,eqns);
            eqnSets.add(es);
        }
    }




    
}
